import {createStore, applyMiddleware, combineReducers} from '../redux';
import logger from 'redux-logger'
import thunk from 'redux-thunk';
import aStore from './aStore';
import bStore from './bStore';

const store = combineReducers({
    a:aStore,
    b:bStore
})

export default  createStore(store, applyMiddleware(thunk, logger))